AEGetSpecialHandler
AEKeyword functionClass ; keyword for special handler being gotten ProcPtr * handler ; pointer to special handler routine Boolean isSysHandler ; TRUE = taken from system handler table FALSE = taken from application handler table The functionClass parameter is the keyword that specifies the desired special handler. There is currently only one value allowed for this parameter: the
keyPreDispatch constant, which identifies a handler routine that is called
The function returns a pointer to the special handler in the handler
parameter.
The isSysHandler parameter specifies the special handler table from which to get the handler. If its value is TRUE, the handler is taken from the system handler table. If its value is FALSE, the handler is taken from the application handler table.
Result codes
noErr (0) No error
memFullErr (-108) Not enough room in heap zone
errAENotASpecialFunction (-1714) Wrong keyword for a special function